Psychopy: Auditory Stroop Task

Practice making & using audio stimuli
psychopy
tutorial
Published

October 18, 2025

UK Phonetics Lab

Auditory Stroop Task Tutorial

This tutorial assumes you’ve already followed the simple Stroop using the PsychoPy builder tutorial. It will guide you through modifying the simple Stroop task to use audio as described in, for example, Most et al. (2007) & Kestens et al. (2021)

In this tutorial you will learn to:

  • create high quality audio stimuli (voice recordings or tones) for use in perception experiments

  • load lossless audio recordings into PsychoPy for presentation to listeners

  • collect data either in-person on the phonetics lab computers or online using pavlovia.org

Figure 1: Auditory Stroop Task

Open source audio manipulation tools

We use a range of audio tools in the phonetics lab for different tasks. The ones we recommend everyone in the lab learn to use are:

Background: Auditory Stroop Task & Emotion

Development and use of Auditory Stroop Task

Creating a PsychoPy experiment is only the end result of a lot of reading, thinking, careful analysis of previous work, and synthesis with previous results. As Mary Beckman likes to say, linguists should spend less time writing and more time reading. Here, for this tutorial, is an example of what a page of my research notes might look like when thinking about a task. I started collecting these references because I was thinking about exemplar models and gender identity, but accidentally discovered a connection to emotion along the way.

  • Hamers and Lambert (1972) : French (basse et haute) and English (low and high) words are presented in high and low frequency tones. Complicated result, worth reading carefully, but responses to incongruent stimuli are slower. See also: (Cohen and Martin 1975; Spapé and Hommel 2008)

This is the same Lambert as the classic first Matched Guise study: Lambert et al. (1960)!

  • Green and Barber (1981) : girl1 and man spoken by male and female talkers show an auditory stroop effect. confusing result alongside the explanation in, e.g. Walker and Hay (2011) or Palmeri et al. (1993). Why would these words have gendered expectations?

  • Morgan and Brandt (1989) : Auditory stroop effect for pitch and loudness but not duration. Compare with memory results in (Nygaard et al. 1995; Bradlow et al. 1999)

  • Most et al. (2007) : Another gender study, but kids and adults suggest an opposite pattern for gendered words (e.g. bracelet, lipstick, pirate, football) vs gendered names (e.g. Amy, Jenny, Brian, George) with kids having more interference for words and adults having more interference for names. Again, not obvious that exemplars predict this. See also Christensen et al. (2011) for neural investigation with gender.

  • Knight and Heinrich (2017) & Kestens et al. (2021) : Methodological insights, implementation details, and relevance to speech in noise. The implementation in this tutorial is largely inspired by these two.

Emotion & Speech Perception

  • Sumner et al. (2014) :

  • Kim and Sumner (2017) :

  • Shin and Kim (2019) (auditory stroop task) :

  • Combs (2020) :

Clone and open your Stroop task

NoteHands-On: Create Experiment

Make a copy of your stroop.psyexp file and rename it auditory-strop.psyexp. Then open it in PsychoPy Builder (FileOpen → Choose auditory-stroop.psyexp)

Designing the audio stimuli

Most et al. (2007) assume that gender is a simple binary (Campbell-Kibler and miles-hercules 2021)

The instructions provided for setting up and playing-back audio in PsychoPy

Before we write the actual experiment, let’s change some default settings:

NoteHands-On: Settings

In the Experiment settings window (Basic tab), enter stroop next to Experiment name and remove the session option in the Experiment info box. In the Data tab, make sure the data is saved as sub-{nr}. Finally, in the Screen tab, make sure the experiment uses your own monitor (which you created in an earlier tutorial) and set the Units to “norm”.

Testing

Upload to Pavlovia (optional)

Next Steps

References

Bradlow, Ann R., Lynne C. Nygaard, and David B. Pisoni. 1999. “Effects of Talker, Rate, and Amplitude Variation on Recognition Memory for Spoken Words.” Perception & Psychophysics 61 (2): 206–19. https://doi.org/10.3758/BF03206883.
Campbell-Kibler, Kathryn, and deandre miles-hercules. 2021. Perception of Gender and Sexuality. 1st ed. Edited by Jo Angouri and Judith Baxter. Routledge. https://doi.org/10.4324/9781315514857-5.
Christensen, Thomas A., Julie L. Lockwood, Kyle R. Almryde, and Elena Plante. 2011. “Neural Substrates of Attentive Listening Assessed with a Novel Auditory Stroop Task.” Frontiers in Human Neuroscience 4. https://doi.org/10.3389/fnhum.2010.00236.
Cohen, Gillian, and Maryanne Martin. 1975. “Hemisphere Differences in an Auditory Stroop Test.” Perception & Psychophysics 17 (1): 7983.
Combs, Ollie. 2020. “Relevant Angry Affect Slows Response Time to Commands.” PhD thesis. https://uknowledge.uky.edu/ltt_etds/40/.
Green, Elizabeth J, and Paul J Barber. 1981. “An Auditory Stroop Effect with Judgments of Speaker Gender.” Perception & Psychophysics 30 (5): 459466.
Hamers, Josiane F, and Wallace E Lambert. 1972. “Bilingual Interdependencies in Auditory Perception.” Journal of Verbal Learning and Verbal Behavior 11 (3): 303310.
Kestens, Katrien, Sofie Degeest, Marijke Miatton, and Hannah Keppler. 2021. “An Auditory Stroop Test to Implement in Cognitive Hearing Sciences: Development and Normative Data.” International Journal of Psychological Research 14 (2): 37–51. https://doi.org/10.21500/20112084.5118.
Kim, Seung Kyung, and Meghan Sumner. 2017. “Beyond Lexical Meaning: The Effect of Emotional Prosody on Spoken Word Recognition.” The Journal of the Acoustical Society of America 142 (1): EL49EL55.
Knight, Sarah, and Antje Heinrich. 2017. “Different Measures of Auditory and Visual Stroop Interference and Their Relationship to Speech Intelligibility in Noise.” Frontiers in Psychology 8 (March). https://doi.org/10.3389/fpsyg.2017.00230.
Lambert, Wallace E, Richard C Hodgson, Robert C Gardner, and Samuel Fillenbaum. 1960. “Evaluational Reactions to Spoken Languages.” The Journal of Abnormal and Social Psychology 60 (1): 44.
Morgan, Alisa LR, and John F Brandt. 1989. “An Auditory Stroop Effect for Pitch, Loudness, and Time.” Brain and Language 36 (4): 592603.
Most, Steven B., Anne Verbeck Sorber, and Joseph G. Cunningham. 2007. “Auditory Stroop Reveals Implicit Gender Associations in Adults and Children.” Journal of Experimental Social Psychology 43 (2): 287–94. https://doi.org/10.1016/j.jesp.2006.02.002.
Nygaard, Lynne C., Mitchell S. Sommers, and David B. Pisoni. 1995. “Effects of Stimulus Variability on Perception and Representation of Spoken Words in Memory.” Perception & Psychophysics 57 (7): 989–1001. https://doi.org/10.3758/BF03205458.
Palmeri, T. J., S. D. Goldinger, and D. B. Pisoni. 1993. “Episodic Encoding of Voice Attributes and Recognition Memory for Spoken Words.” Journal of Experimental Psychology: Learning, Memory, and Cognition 19 (3): 309328.
Shin, Ji-eun, and Kayoung Kim. 2019. “Loneliness Increases Attention to Negative Vocal Tone in an Auditory Stroop Task.” Personality and Individual Differences 137 (January): 144–46. https://doi.org/10.1016/j.paid.2018.08.016.
Spapé, Michiel M., and Bernhard Hommel. 2008. “He Said, She Said: Episodic Retrieval Induces Conflict Adaptation in an Auditory Stroop Task.” Psychonomic Bulletin & Review 15 (6): 1117–21. https://doi.org/10.3758/PBR.15.6.1117.
Sumner, Meghan, Seung Kyung Kim, Ed King, and Kevin B McGowan. 2014. “The Socially Weighted Encoding of Spoken Words: A Dual-Route Approach to Speech Perception.” Frontiers in Psychology 4: 1015.
Walker, Abby, and Jen Hay. 2011. “Congruence Between Word Age and Voice Age Facilitates Lexical Access.” Laboratory Phonology 2 (1): 219–37.

Footnotes

  1. chosen because it’s monosyllabic↩︎